package com.bdc.memory.service;

import com.bdc.memory.domain.RecordInfo;
import com.bdc.memory.service.impl.IRecordServiceImpl;
import com.google.inject.ImplementedBy;

import java.util.List;

/**
 * User: shawn
 * Date: 2011-6-16
 * Time: 19:56:23
 */

@ImplementedBy(IRecordServiceImpl.class)
public interface IRecordService {

    public long addRecord(long userId, String memory, String description, String tag) throws Exception;

    public void updateRecord(long userId, long recordId, String memory, String description, String tag);

    public void delRecord(long recordId);

    public List<RecordInfo> getTagRecordList(long tagId, long from, long count);

    public List<RecordInfo> getTodayRecordList(long userId) throws Exception;
}
